package com.newtouch.bxzs.common.base.em;

/**
 * 反馈问题状态枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月23日</td>
 * <td>xiong</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author xiong
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
public enum FeedbackProblemStatusEnum {
	// 已撤回
	REVOKE_STATUS("1", "已撤回"),
	// 已解答
	ANSWERED_STATUS("2", "已解答"),
	// 未解答
	UNANSWERED_STATUS("3","未解答");
	/**
	 * 状态码
	 */
	private String code;
	/**
	 * 状态名称
	 */
	private String name;



	FeedbackProblemStatusEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }


	public Integer getCodeForInteger(){
		return Integer.parseInt(code);
	}

	public String getCode() {
		return code;
	}

	public String getMessage() {
		return name;
	}
}
